package com.qingmeng.outsourcing.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProjectExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProjectExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdIsNull() {
            addCriterion("project_publisher_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdIsNotNull() {
            addCriterion("project_publisher_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdEqualTo(Long value) {
            addCriterion("project_publisher_id =", value, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdNotEqualTo(Long value) {
            addCriterion("project_publisher_id <>", value, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdGreaterThan(Long value) {
            addCriterion("project_publisher_id >", value, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdGreaterThanOrEqualTo(Long value) {
            addCriterion("project_publisher_id >=", value, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdLessThan(Long value) {
            addCriterion("project_publisher_id <", value, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdLessThanOrEqualTo(Long value) {
            addCriterion("project_publisher_id <=", value, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdIn(List<Long> values) {
            addCriterion("project_publisher_id in", values, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdNotIn(List<Long> values) {
            addCriterion("project_publisher_id not in", values, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdBetween(Long value1, Long value2) {
            addCriterion("project_publisher_id between", value1, value2, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectPublisherIdNotBetween(Long value1, Long value2) {
            addCriterion("project_publisher_id not between", value1, value2, "projectPublisherId");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("project_name like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("project_name not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("project_name in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectLogoIsNull() {
            addCriterion("project_logo is null");
            return (Criteria) this;
        }

        public Criteria andProjectLogoIsNotNull() {
            addCriterion("project_logo is not null");
            return (Criteria) this;
        }

        public Criteria andProjectLogoEqualTo(String value) {
            addCriterion("project_logo =", value, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoNotEqualTo(String value) {
            addCriterion("project_logo <>", value, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoGreaterThan(String value) {
            addCriterion("project_logo >", value, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoGreaterThanOrEqualTo(String value) {
            addCriterion("project_logo >=", value, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoLessThan(String value) {
            addCriterion("project_logo <", value, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoLessThanOrEqualTo(String value) {
            addCriterion("project_logo <=", value, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoLike(String value) {
            addCriterion("project_logo like", value, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoNotLike(String value) {
            addCriterion("project_logo not like", value, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoIn(List<String> values) {
            addCriterion("project_logo in", values, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoNotIn(List<String> values) {
            addCriterion("project_logo not in", values, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoBetween(String value1, String value2) {
            addCriterion("project_logo between", value1, value2, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectLogoNotBetween(String value1, String value2) {
            addCriterion("project_logo not between", value1, value2, "projectLogo");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetIsNull() {
            addCriterion("project_budget is null");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetIsNotNull() {
            addCriterion("project_budget is not null");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetEqualTo(BigDecimal value) {
            addCriterion("project_budget =", value, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetNotEqualTo(BigDecimal value) {
            addCriterion("project_budget <>", value, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetGreaterThan(BigDecimal value) {
            addCriterion("project_budget >", value, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("project_budget >=", value, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetLessThan(BigDecimal value) {
            addCriterion("project_budget <", value, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetLessThanOrEqualTo(BigDecimal value) {
            addCriterion("project_budget <=", value, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetIn(List<BigDecimal> values) {
            addCriterion("project_budget in", values, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetNotIn(List<BigDecimal> values) {
            addCriterion("project_budget not in", values, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("project_budget between", value1, value2, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectBudgetNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("project_budget not between", value1, value2, "projectBudget");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroIsNull() {
            addCriterion("project_short_intro is null");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroIsNotNull() {
            addCriterion("project_short_intro is not null");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroEqualTo(String value) {
            addCriterion("project_short_intro =", value, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroNotEqualTo(String value) {
            addCriterion("project_short_intro <>", value, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroGreaterThan(String value) {
            addCriterion("project_short_intro >", value, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroGreaterThanOrEqualTo(String value) {
            addCriterion("project_short_intro >=", value, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroLessThan(String value) {
            addCriterion("project_short_intro <", value, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroLessThanOrEqualTo(String value) {
            addCriterion("project_short_intro <=", value, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroLike(String value) {
            addCriterion("project_short_intro like", value, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroNotLike(String value) {
            addCriterion("project_short_intro not like", value, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroIn(List<String> values) {
            addCriterion("project_short_intro in", values, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroNotIn(List<String> values) {
            addCriterion("project_short_intro not in", values, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroBetween(String value1, String value2) {
            addCriterion("project_short_intro between", value1, value2, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectShortIntroNotBetween(String value1, String value2) {
            addCriterion("project_short_intro not between", value1, value2, "projectShortIntro");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionIsNull() {
            addCriterion("project_introduction is null");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionIsNotNull() {
            addCriterion("project_introduction is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionEqualTo(String value) {
            addCriterion("project_introduction =", value, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionNotEqualTo(String value) {
            addCriterion("project_introduction <>", value, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionGreaterThan(String value) {
            addCriterion("project_introduction >", value, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionGreaterThanOrEqualTo(String value) {
            addCriterion("project_introduction >=", value, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionLessThan(String value) {
            addCriterion("project_introduction <", value, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionLessThanOrEqualTo(String value) {
            addCriterion("project_introduction <=", value, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionLike(String value) {
            addCriterion("project_introduction like", value, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionNotLike(String value) {
            addCriterion("project_introduction not like", value, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionIn(List<String> values) {
            addCriterion("project_introduction in", values, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionNotIn(List<String> values) {
            addCriterion("project_introduction not in", values, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionBetween(String value1, String value2) {
            addCriterion("project_introduction between", value1, value2, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectIntroductionNotBetween(String value1, String value2) {
            addCriterion("project_introduction not between", value1, value2, "projectIntroduction");
            return (Criteria) this;
        }

        public Criteria andProjectDurationIsNull() {
            addCriterion("project_duration is null");
            return (Criteria) this;
        }

        public Criteria andProjectDurationIsNotNull() {
            addCriterion("project_duration is not null");
            return (Criteria) this;
        }

        public Criteria andProjectDurationEqualTo(String value) {
            addCriterion("project_duration =", value, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationNotEqualTo(String value) {
            addCriterion("project_duration <>", value, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationGreaterThan(String value) {
            addCriterion("project_duration >", value, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationGreaterThanOrEqualTo(String value) {
            addCriterion("project_duration >=", value, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationLessThan(String value) {
            addCriterion("project_duration <", value, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationLessThanOrEqualTo(String value) {
            addCriterion("project_duration <=", value, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationLike(String value) {
            addCriterion("project_duration like", value, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationNotLike(String value) {
            addCriterion("project_duration not like", value, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationIn(List<String> values) {
            addCriterion("project_duration in", values, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationNotIn(List<String> values) {
            addCriterion("project_duration not in", values, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationBetween(String value1, String value2) {
            addCriterion("project_duration between", value1, value2, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andProjectDurationNotBetween(String value1, String value2) {
            addCriterion("project_duration not between", value1, value2, "projectDuration");
            return (Criteria) this;
        }

        public Criteria andWorkExplainIsNull() {
            addCriterion("work_explain is null");
            return (Criteria) this;
        }

        public Criteria andWorkExplainIsNotNull() {
            addCriterion("work_explain is not null");
            return (Criteria) this;
        }

        public Criteria andWorkExplainEqualTo(String value) {
            addCriterion("work_explain =", value, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainNotEqualTo(String value) {
            addCriterion("work_explain <>", value, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainGreaterThan(String value) {
            addCriterion("work_explain >", value, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainGreaterThanOrEqualTo(String value) {
            addCriterion("work_explain >=", value, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainLessThan(String value) {
            addCriterion("work_explain <", value, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainLessThanOrEqualTo(String value) {
            addCriterion("work_explain <=", value, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainLike(String value) {
            addCriterion("work_explain like", value, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainNotLike(String value) {
            addCriterion("work_explain not like", value, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainIn(List<String> values) {
            addCriterion("work_explain in", values, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainNotIn(List<String> values) {
            addCriterion("work_explain not in", values, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainBetween(String value1, String value2) {
            addCriterion("work_explain between", value1, value2, "workExplain");
            return (Criteria) this;
        }

        public Criteria andWorkExplainNotBetween(String value1, String value2) {
            addCriterion("work_explain not between", value1, value2, "workExplain");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andScheduleIdIsNull() {
            addCriterion("schedule_id is null");
            return (Criteria) this;
        }

        public Criteria andScheduleIdIsNotNull() {
            addCriterion("schedule_id is not null");
            return (Criteria) this;
        }

        public Criteria andScheduleIdEqualTo(Long value) {
            addCriterion("schedule_id =", value, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdNotEqualTo(Long value) {
            addCriterion("schedule_id <>", value, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdGreaterThan(Long value) {
            addCriterion("schedule_id >", value, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdGreaterThanOrEqualTo(Long value) {
            addCriterion("schedule_id >=", value, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdLessThan(Long value) {
            addCriterion("schedule_id <", value, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdLessThanOrEqualTo(Long value) {
            addCriterion("schedule_id <=", value, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdIn(List<Long> values) {
            addCriterion("schedule_id in", values, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdNotIn(List<Long> values) {
            addCriterion("schedule_id not in", values, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdBetween(Long value1, Long value2) {
            addCriterion("schedule_id between", value1, value2, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleIdNotBetween(Long value1, Long value2) {
            addCriterion("schedule_id not between", value1, value2, "scheduleId");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishIsNull() {
            addCriterion("is_company_publish is null");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishIsNotNull() {
            addCriterion("is_company_publish is not null");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishEqualTo(Integer value) {
            addCriterion("is_company_publish =", value, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishNotEqualTo(Integer value) {
            addCriterion("is_company_publish <>", value, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishGreaterThan(Integer value) {
            addCriterion("is_company_publish >", value, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_company_publish >=", value, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishLessThan(Integer value) {
            addCriterion("is_company_publish <", value, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishLessThanOrEqualTo(Integer value) {
            addCriterion("is_company_publish <=", value, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishIn(List<Integer> values) {
            addCriterion("is_company_publish in", values, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishNotIn(List<Integer> values) {
            addCriterion("is_company_publish not in", values, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishBetween(Integer value1, Integer value2) {
            addCriterion("is_company_publish between", value1, value2, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andIsCompanyPublishNotBetween(Integer value1, Integer value2) {
            addCriterion("is_company_publish not between", value1, value2, "isCompanyPublish");
            return (Criteria) this;
        }

        public Criteria andWorkTypeIsNull() {
            addCriterion("work_type is null");
            return (Criteria) this;
        }

        public Criteria andWorkTypeIsNotNull() {
            addCriterion("work_type is not null");
            return (Criteria) this;
        }

        public Criteria andWorkTypeEqualTo(Integer value) {
            addCriterion("work_type =", value, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeNotEqualTo(Integer value) {
            addCriterion("work_type <>", value, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeGreaterThan(Integer value) {
            addCriterion("work_type >", value, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("work_type >=", value, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeLessThan(Integer value) {
            addCriterion("work_type <", value, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeLessThanOrEqualTo(Integer value) {
            addCriterion("work_type <=", value, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeIn(List<Integer> values) {
            addCriterion("work_type in", values, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeNotIn(List<Integer> values) {
            addCriterion("work_type not in", values, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeBetween(Integer value1, Integer value2) {
            addCriterion("work_type between", value1, value2, "workType");
            return (Criteria) this;
        }

        public Criteria andWorkTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("work_type not between", value1, value2, "workType");
            return (Criteria) this;
        }

        public Criteria andDeleteTagIsNull() {
            addCriterion("delete_tag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteTagIsNotNull() {
            addCriterion("delete_tag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteTagEqualTo(Integer value) {
            addCriterion("delete_tag =", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagNotEqualTo(Integer value) {
            addCriterion("delete_tag <>", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagGreaterThan(Integer value) {
            addCriterion("delete_tag >", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_tag >=", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagLessThan(Integer value) {
            addCriterion("delete_tag <", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_tag <=", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagIn(List<Integer> values) {
            addCriterion("delete_tag in", values, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagNotIn(List<Integer> values) {
            addCriterion("delete_tag not in", values, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagBetween(Integer value1, Integer value2) {
            addCriterion("delete_tag between", value1, value2, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_tag not between", value1, value2, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andApprovedIsNull() {
            addCriterion("approved is null");
            return (Criteria) this;
        }

        public Criteria andApprovedIsNotNull() {
            addCriterion("approved is not null");
            return (Criteria) this;
        }

        public Criteria andApprovedEqualTo(Integer value) {
            addCriterion("approved =", value, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedNotEqualTo(Integer value) {
            addCriterion("approved <>", value, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedGreaterThan(Integer value) {
            addCriterion("approved >", value, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedGreaterThanOrEqualTo(Integer value) {
            addCriterion("approved >=", value, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedLessThan(Integer value) {
            addCriterion("approved <", value, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedLessThanOrEqualTo(Integer value) {
            addCriterion("approved <=", value, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedIn(List<Integer> values) {
            addCriterion("approved in", values, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedNotIn(List<Integer> values) {
            addCriterion("approved not in", values, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedBetween(Integer value1, Integer value2) {
            addCriterion("approved between", value1, value2, "approved");
            return (Criteria) this;
        }

        public Criteria andApprovedNotBetween(Integer value1, Integer value2) {
            addCriterion("approved not between", value1, value2, "approved");
            return (Criteria) this;
        }

        public Criteria andApproverIsNull() {
            addCriterion("approver is null");
            return (Criteria) this;
        }

        public Criteria andApproverIsNotNull() {
            addCriterion("approver is not null");
            return (Criteria) this;
        }

        public Criteria andApproverEqualTo(Long value) {
            addCriterion("approver =", value, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverNotEqualTo(Long value) {
            addCriterion("approver <>", value, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverGreaterThan(Long value) {
            addCriterion("approver >", value, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverGreaterThanOrEqualTo(Long value) {
            addCriterion("approver >=", value, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverLessThan(Long value) {
            addCriterion("approver <", value, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverLessThanOrEqualTo(Long value) {
            addCriterion("approver <=", value, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverIn(List<Long> values) {
            addCriterion("approver in", values, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverNotIn(List<Long> values) {
            addCriterion("approver not in", values, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverBetween(Long value1, Long value2) {
            addCriterion("approver between", value1, value2, "approver");
            return (Criteria) this;
        }

        public Criteria andApproverNotBetween(Long value1, Long value2) {
            addCriterion("approver not between", value1, value2, "approver");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}